﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using GSLMS.Core;
using GSLMS.Entity.Enum;
using GSLMS.Entity;

namespace GSLMS.WebAPP.Areas.RiskAudit.Controllers.Loan.LoanApply
{
    public class LoanApplyController : AdminBaseController
    {
        //
        // GET: /RiskAudit/LoanApply/

        public ActionResult Index(FormCollection form)
        {
            ViewData["Status"] = EnumHelper.ToSelectList<ApplyEnum.MainStatus>();
            var searchParma = SearchPara<TB_LOAN_MAIN>(form, new TB_LOAN_MAIN());
            var list = new List<TB_LOAN_MAIN>() { new TB_LOAN_MAIN() { ID = 1, CUSTNAME = "DDDDDDDD" } };// serviceLoanContract.GetList(searchParma);
            ViewData["RowCount"] = searchParma.RowCount;

            return View(list);
        }

    }
}
